/**
 * 
 */
function show(){
}
function yzm(){
	var Num="";
	for(var i=0;i<4;i++){
	Num+=Math.floor(Math.random()*10);
	document.getElementById("yzphoto").value=Num;
	document.getElementById("yzm").value=Num;
	}
}
function searched(btn){
	var search=document.getElementById("search").value;
	window.location.href="index.jsp?filename=orderManager.jsp&search="+encodeURI(encodeURI(search));
    var type=document.getElementById("t").value;
    window.location.href="index.jsp?filename=orderManager.jsp&type="+encodeURI(encodeURI(type))+"&search="+encodeURI(encodeURI(search));
}
function turn(n){
	var id="";
	for(var i=1;i<4;i++){
	if(i==1){
		id='add';
	}
	else if(i==2){
		id='alert';
	}
	else{
		id='delete';
	}
	var div=document.getElementById(id);
     div.style.display='none';
	if(n==i){
	div.style.display='block';
	}
	}
}